<table id="question-table">
  <tbody>
    <tr data-quid="1">
      <td class="description">a</td>
      <td class="groups">
        <ul></ul>
      </td>
      <td class="locations">
        <ul></ul>
      </td>
    </tr>
    <tr data-quid="2">
      <td class="description">b</td>
      <td class="groups">
        <ul></ul>
      </td>
      <td class="locations">
        <ul>
          <li data-count="1" data-id="10">
            <a>loc10</a>
            <span class="count"></span>
          </li>
          <li data-count="1" data-id="11">
            <a>loc11</a>
            <span class="count"></span>
          </li>
        </ul>
      </td>
    </tr>
  </tbody>
</table>
<table id="question-group-table">
  <tbody>
    <tr data-qgid="3">
      <td class="description">a</td>
      <td class="questions">
        <ul></ul>
      </td>
      <td class="locations">
        <ul>
          <li data-count="1" data-id="10">
            <a>loc10</a>
            <span class="count"></span>
          </li>
          <li data-count="1" data-id="12">
            <a>loc12</a>
            <span class="count"></span>
          </li>
        </ul>
      </td>
    </tr>
    <tr data-qgid="4">
      <td class="description">b</td>
      <td class="questions">
        <ul></ul>
      </td>
      <td class="locations">
        <ul></ul>
      </td>
    </tr>
  </tbody>
</table>